<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            display: flex;
            /* 把父元素变成弹性盒 */
            justify-content: center;
        }

        .c-nav {
            width: 800px;
            height: 48px;
            text-align: center;
            align-items: center;
            border: 1px solid red;
            padding: 0;
            margin: 0;
        }

        .c-nav ul {
            width: 800px;
            display: flex;
            /* 把父元素变成弹性盒 */
            justify-content: center;
            align-items: center;
            line-height: 16px;
            padding: 0;

        }

        #c_nav li {
            list-style: none;
            float: left;
            padding: 0;
        }

        #c_nav a {
            text-decoration: none;
            margin: 15px;
            padding: 0;
        }

        .cloud {
            background-color:aqua;
            width: 45px;
            height: 48px;
            border: 1px solid red;
        }
    </style>
</head>

<body>
    <div id="c_nav" class="c-nav">
        <span class="cloud"></span>
        <ul>
            <li class="current"><a href="#">新闻首页</a></li>
            <li><a href="#">师资力量</a></li>
            <li><a href="#">活动策划</a></li>
            <li><a href="#">企业文化</a></li>
            <li><a href="#">招聘信息</a></li>
            <li><a href="#">公司简介</a></li>
            <li><a href="#">你是佩奇</a></li>
            <li><a href="#">就是佩奇</a></li>
        </ul>
    </div>
</body>

</html>